namespace mvc.Models
{
    public class Product : Base
    { 
        public string ProductName { get; set; } ="";        //商品名称
        public string Supplier { get; set; } ="";           //供应商名称
        public int Price { get; set; } =0;                  //价格
        public int Stock { get; set; } =0;                  //库存数量
        public int CategoryId { get; set; }                 //外键
    }
}